<template>
  <div class="hotel-list">
    <hotel-list-item
    v-for="item of hotelDatas"
    :key="item.id"
    :data="item"
    ></hotel-list-item>
  </div>
</template>

<script>
import HotelListItem from './Sub.vue'
export default {
  name: 'HotelList',
  props: {
    hotelDatas: {
      type: Array,
      default () {
        return []
      }
    },
    
  },
  components: {
    HotelListItem
  }
}
</script>

<style lang="scss" scoped>

</style>